package com.meitianhui.convenitenbuy.module.home.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;

/**
 * Created by amy on 2018/1/10.
 */

public interface SubmitOrderContract {

    interface View extends BaseView<SubmitOrderContract.Presenter>{


        void payMoneyFail(String msg);

        void payMoneySucc();
    }

    interface Presenter extends BasePresenter{

        void goToPayMoney(String payWay, String address, String addressName, String addressPhone,
                          String message, String goods_code, String orderType, String amount,
                          String data_source, String quantity, String skuId, boolean flags);

        void callPay(String order_id, String payWay, String goods_code, String amount, String data_source);
    }
}
